home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
E.T.O. #4 Installer
/
SANE Install
< prev
next >
Wrap
Text File
|
1991-05-23
|
2KB
|
52 lines
# S A N E I N S T A L L A T I O N S C R I P T
#
# Copyright Apple Computer, Inc. 1991 - All rights reserved.
#
#
# This script is used to install either the Omega SANE or Omega SANE FPU Inits, version 1.0b5,
# from the E.T.O. #4 distribution compact disk into the System Folder on the destination hard disk.
# on the destination hard disk.
#
# This script makes use of the following Shell variables:
#
# {CDVolume} - the name of the CD Distribution volume
#
# {SystemFolder} - the path to the folder containing the currently active System
#
# {DestVolume} - the name of the volume from which the Installer was launched
#
# {SANEOption} - a flag used to indicate which version of MacsBug to install
#
# {MachType} - a flag to determine the current machine type
#
# {FPUType} - a flag to determine the FPU type of the current machine
#
set SANESource "{CDVolume}Essentials:OmegaSANE:PQR4:Omega SANE®"
set SANEFPUSource "{CDVolume}Essentials:OmegaSANE:PQR4:Omega SANE® FPU Version"
### First, check for an older version
if "`Exists -f "{SystemFolder}Omega SANE®"`"
if "`Exists -f "{SystemFolder}Omega SANE®.Old"`"
Delete -y "{SystemFolder}Omega SANE®.Old"
End
Rename "{SystemFolder}Omega SANE®" "{SystemFolder}Omega SANE®.Old"
End
### Next, copy the correct version into the System Folder
If "{FPUType}" != "0" ### if there is an FPU
If "{MachType}" != "19" ### Mac LC
Duplicate -y "{SANEFPUSource}" "{SystemFolder}Omega Sane®"
End
Else ### No FPU Installed
If "{MachType}" != "19" && "{MachType}" != "18" ### Mac LC & Mac SI
Duplicate -y "{SANESource}" "{SystemFolder}Omega Sane®"
End
End